/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Helpers
{
	/// <summary>
	/// A class encapsulating version-number information
	/// (used in Space, Tool, etcetera)
	/// </summary>
	public class Version
	{
		int m_Major;
		int m_Minor;
		int m_Custom;
		int m_Sequence;

		public Version(int i_Major, int i_Minor, int i_Custom, int i_Sequence)
		{
			m_Major = i_Major;
			m_Minor = i_Minor;
			m_Custom = i_Custom;
			m_Sequence = i_Sequence;
		}

		public int Major
		{
			get
			{
				return m_Major;
			}
		}

		public int Minor
		{
			get
			{
				return m_Minor;
			}
		}

		public int Custom
		{
			get
			{
				return m_Custom;
			}
		}

		public int Sequence
		{
			get
			{
				return m_Sequence;
			}
		}
	}
}
